package ynu.czs.service;

import ynu.czs.pojo.Cart;
import ynu.czs.pojo.Food;

import java.util.List;

public interface FoodService {
    List<Food> listFoodByBusinessId(Integer businessId);
    List<Food> listFood(Integer businessId,Long userId);

    Cart getCart(Integer foodId,Long userId);

    void addFood(Food food);

    void deleteFood(Integer foodId);

}
